<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>确认授权页面</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" href="http://i.gtimg.cn/vipstyle/frozenui/2.0.0/css/frozen.css">

    <style>
        .block{
            position: relative;
        }
        .ui-notice{
            position: relative;
            padding: 20px 15px;
            box-sizing: border-box;
        }
        .ui-notice p{
            color: #333;
            font-weight: 600;
        }
        .ui-btn-primary{
            background-color: #02cd93;
            border-color: #02cd93;
        }
        .ui-notice-btn{
            padding: 50px 0px 15px;
        }
    </style>
</head>
<body>
    <div class="block">
        <section class="ui-notice">
            <i class="icon icon-notice"></i>
            <p><span th:text="${client.clientId}+'用户同意授权'"></span></p>
            <div class="ui-notice-btn">
                <form id="confirmationForm" name="confirmationForm" th:action="@{/oauth/authorize}" method="post">
                    <input name="user_oauth_approval" value="true" type="hidden"/>
                    <div th:each="item:${scopes}">
                        <input type="radio" th:name="'scope.'+${item}" value="true" hidden="hidden"  checked="checked"/>
                    </div>
                    <input class="ui-btn-primary ui-btn-lg ui-btn-primary" name="authorize" value="授权" type="submit">
                </form>

            </div>
        </section>
    </div>

</body>
</html>